package com.ruoyi.common.core.domain.entity;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 菜品信息对象 wsd_dishes
 * 
 * @author ruoyi
 * @date 2024-04-22
 */
public class WsdDishes extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键，自增的菜品ID */
    private Long dishId;

    /** 菜品名称 */
    @Excel(name = "菜品名称")
    private String dishName;

    /** 食材列表（详细食材,如"番茄 2 个,鸡蛋 3 个） */
    @Excel(name = "食材列表", readConverterExp = "详=细食材,如番茄,2=,个=,鸡蛋,3=,个=")
    private String ingredients;

    /** 关联的学校ID */
    @Excel(name = "关联的学校ID")
    private Long schoolId;

    public void setDishId(Long dishId) 
    {
        this.dishId = dishId;
    }

    public Long getDishId() 
    {
        return dishId;
    }
    public void setDishName(String dishName) 
    {
        this.dishName = dishName;
    }

    public String getDishName() 
    {
        return dishName;
    }
    public void setIngredients(String ingredients) 
    {
        this.ingredients = ingredients;
    }

    public String getIngredients() 
    {
        return ingredients;
    }
    public void setSchoolId(Long schoolId) 
    {
        this.schoolId = schoolId;
    }

    public Long getSchoolId() 
    {
        return schoolId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("dishId", getDishId())
            .append("dishName", getDishName())
            .append("ingredients", getIngredients())
            .append("schoolId", getSchoolId())
            .toString();
    }
}
